

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using JYJ.AiYard.StationManagement.TbAlipayParams;

namespace JYJ.AiYard.EntityMapper.TbAlipayParamss
{
    public class TbAlipayParamsCfg : IEntityTypeConfiguration<TbAlipayParams>
    {
        public void Configure(EntityTypeBuilder<TbAlipayParams> builder)
        {

            builder.ToTable("Tb_AlipayParams", YoYoAbpefCoreConsts.SchemaNames.Dbo);

            
			builder.Property(a => a.Station_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.Client_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.Alipay_SHOPSNAME).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length200);
			builder.Property(a => a.Alipay_PID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.Alipay_APPID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.Alipay_MD5_KEY).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.Alipay_PUBLIC_KEY).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length4000);
			builder.Property(a => a.Alipay_MERCHANT_PRIVATE_KEY).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length4000);
			builder.Property(a => a.Alipay_MERCHANT_PUBLIC_KEY).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length4000);
			builder.Property(a => a.Alipay_SERVER_URL).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length350);
			builder.Property(a => a.Alipay_MAPI_URL).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length350);
			builder.Property(a => a.Alipay_MONITOR_URL).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length350);
			builder.Property(a => a.Alipay_NOTIFY_URL).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.Alipay_QUERY_URL).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.Alipay_RETURN_URL).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
            builder.Property(a => a.Alipay_Type).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.Alipay_Stop).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
            builder.Property(a => a.TenantId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreatorUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModifierUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModificationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.IsDeleted).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeleterUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeletionTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);


        }
    }
}


